package vo;

/**
 * Saleorderitem entity. @author MyEclipse Persistence Tools
 */

public class Saleorderitem implements java.io.Serializable {

	// Fields

	private Integer id;
	private Saleorder saleorder;
	private String itemId;
	private Integer quantity;
	private Double salePrice;
	private Double subTotal;
	private String spec;
	private String temperature;
	private String sweetness;

	// Constructors

	/** default constructor */
	public Saleorderitem() {
	}

	/** minimal constructor */
	public Saleorderitem(Saleorder saleorder, String itemId, Integer quantity,
			Double salePrice, Double subTotal, String spec) {
		this.saleorder = saleorder;
		this.itemId = itemId;
		this.quantity = quantity;
		this.salePrice = salePrice;
		this.subTotal = subTotal;
		this.spec = spec;
	}

	/** full constructor */
	public Saleorderitem(Saleorder saleorder, String itemId, Integer quantity,
			Double salePrice, Double subTotal, String spec, String temperature,
			String sweetness) {
		this.saleorder = saleorder;
		this.itemId = itemId;
		this.quantity = quantity;
		this.salePrice = salePrice;
		this.subTotal = subTotal;
		this.spec = spec;
		this.temperature = temperature;
		this.sweetness = sweetness;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Saleorder getSaleorder() {
		return this.saleorder;
	}

	public void setSaleorder(Saleorder saleorder) {
		this.saleorder = saleorder;
	}

	public String getItemId() {
		return this.itemId;
	}

	public void setItemId(String itemId) {
		this.itemId = itemId;
	}

	public Integer getQuantity() {
		return this.quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public Double getSalePrice() {
		return this.salePrice;
	}

	public void setSalePrice(Double salePrice) {
		this.salePrice = salePrice;
	}

	public Double getSubTotal() {
		return this.subTotal;
	}

	public void setSubTotal(Double subTotal) {
		this.subTotal = subTotal;
	}

	public String getSpec() {
		return this.spec;
	}

	public void setSpec(String spec) {
		this.spec = spec;
	}

	public String getTemperature() {
		return this.temperature;
	}

	public void setTemperature(String temperature) {
		this.temperature = temperature;
	}

	public String getSweetness() {
		return this.sweetness;
	}

	public void setSweetness(String sweetness) {
		this.sweetness = sweetness;
	}

}